package com.erp.quertz.logDB;

import com.erp.erp_servers.log.imp.LogDBServiceImp;
import com.erp.quertz.SpringUtil;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

/**
 * 数据库日志定时器
 */
public class LogDBJob implements Job {
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        LogDBServiceImp logDBServiceImp= SpringUtil.getBean(LogDBServiceImp.class);
        logDBServiceImp.insert(false);
    }
}
